package com.image;

public enum Item {
    a(1, "石头"), b(2, "剪刀"), c(3, "布");
    private int code;
    private String message;

    Item(int code, String message) {
        this.code = code;
        this.message = message;
    }

    public int getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }
}
